package autoorder.zsxmlv.enums;

import common.zsxmlv.utils.Utils;

/**
 * @Author: ZSXM
 * @Description: 任务执行相关状态
 * @Company: DingZheng
 * @Date: Create by 2018/6/8 0:32
 * @Version: 1.0
 * @Modify by:
 */
public enum TaskEnum {

    TASK_EXECUTING(0, "任务执行中"),

    TASK_FINISH(1, "任务已完成"),

    TASK_CREATE_SUCCESS(0, "任务创建完成"),





    TASK_UNKNOWN_STATUS(10000, "未知状态"),

    TASK_CREATE_FAIL(10001, "任务创建失败"),

    TASK_NOT_CREATE(10002, "任务未创建"),

    TASK_ERROR(10003, "任务异常"),


    TASK_UPDATE_SUCCESS(10004, "任务更新成功"),

    TASK_UPDATE_ERROR(10005, "任务更新失败"),

    TASK_SELENIUM_EXCEPTION(10006, "任务执行异常"),

    TASK_SELENIUM_SUCCESS(10007, "任务下单成功一个"),

    TASK_PUSU_SUCCESS(10008, "成功推送下单消息"),

    TASK_PUSU_ERROR(10009, "推送下单消息失败"),

    ;

    private Integer code;

    private String msg;

    private TaskEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
